package org.dragon.services;

import org.dragon.models.Credential;

/**
 * Author:     Zhao Yan
 * DateTime:   2023/5/17 12:05
 */
public interface CredentialService {

    Credential findCredential(String id);

    Credential findCredential(String source, String sourceId);

    void save(Credential credential);

    int updateAccountId(Credential credential);
}
